/**
 * output package name
 */
package com.kingdee.eas.fm.be;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class AuditStatus extends IntEnum
{
    public static final int UNAUDIT_VALUE = 0;
    public static final int AUDITED_VALUE = 1;

    public static final AuditStatus unAudit = new AuditStatus("unAudit", UNAUDIT_VALUE);
    public static final AuditStatus audited = new AuditStatus("audited", AUDITED_VALUE);

    /**
     * construct function
     * @param integer auditStatus
     */
    private AuditStatus(String name, int auditStatus)
    {
        super(name, auditStatus);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static AuditStatus getEnum(String auditStatus)
    {
        return (AuditStatus)getEnum(AuditStatus.class, auditStatus);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static AuditStatus getEnum(int auditStatus)
    {
        return (AuditStatus)getEnum(AuditStatus.class, auditStatus);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(AuditStatus.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(AuditStatus.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(AuditStatus.class);
    }
}